﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oplug.EntityFramework.RossLive
{
    [Table("Employee")]
    public class Employee : IEntity<int>
    {
        public int ID { get; set; }
        [Required]
        [StringLength(50)]
        public string EmpID { get; set; }
        [StringLength(50)]
        public string EmpName { get; set; }
        [StringLength(50)]
        public string DeptName { get; set; }
        [StringLength(50)]
        public string UserName { get; set; }
    }
}
